package com.hmall.service;

import com.hmall.mapper.SysUserExtraMapper;
import com.hmall.model.SysUserExtra;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserExtraService {

    private SysUserExtraMapper userExtraMapper;

    @Autowired
    public SysUserExtraService(SysUserExtraMapper userExtraMapper) {
        this.userExtraMapper = userExtraMapper;
    }

    SysUserExtra findByUserName(String userName) {
        return userExtraMapper.findByUserName(userName);
    }
}
